<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <a href="javascript: alert('Hello, world~')">hello</a>
    <div onclick="alert('你好，世界~')">你好</div>


    <script>
        // alert('俺是内嵌式~')
        // let test = null
        // console.log(test.toString())

        let age = 1
        switch (age) {
            case 18:
                console.log('成年')
            break
            case 17:
                console.log('未成年')
            break
            default:
                console.log('默认')
        }
        console.log('后续代码') 
    </script>
</body>
</html>